package cc.lucien.web.dao;

import cc.lucien.web.entity.User;

import java.util.List;

public interface UserDao {

    public User login(String username, String password);

    public int register(User user);

    public int edit(User user);

    public List<User> getUsers();

    public User getUser(int id);

    public int deleteById(Integer id);
}
